cmake_minimum_required(VERSION 3.5)

project(demo LANGUAGES CXX C)

set(CMAKE_CXX_STANDARD 17)

include_directories(${CMAKE_CURRENT_BINARY_DIR})

add_executable(client-hello hello.cpp)

add_proto_source(client-hello hello)
add_proto_service(client-hello hello)
target_link_libraries(client-hello
        PRIVATE PkgConfig::GRPC++
        PRIVATE protobuf)
